package com.kang.service;

import com.kang.pojo.Address;

import java.util.List;


/**
 * @Author 吃三明治派对中的康康
 * @Date 2022/5/1 19:30
 * @Version 1.0
 */
public interface AddressService {

    //添加一条地址
    void insertAddress(Address address);

    //通过uid查找账号下的所有地址
    List<Address> researchAddressByUid(int uid);

    //通过aid删除地址
    void deleteAddress(long aid);

    //通过aid查找一条地址信息
    Address researchAddressByAid(long aid);

    void updateAddress(Address address);
}
